﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace Oprah
{
    /// <summary>
    /// Interaction logic for Levels.xaml
    /// </summary>
    public partial class Levels : Window
    {
        public bool unlocked;

        public Levels(bool lvl)
        {
            InitializeComponent();
            if (lvl == true)
            {
                btnlvl2.Visibility = Visibility.Visible;
                btnlvl2.IsEnabled = true;
            }

        }

        //public Levels()
        //{
        //    InitializeComponent();
                        
        //}

        private void btnlvl1_Click(object sender, RoutedEventArgs e)
        {
            
            var d = new PreGame();
            this.Hide();
            d.Show();
 
        }

        private void btnlvl2_Click(object sender, RoutedEventArgs e)
        {
            var c = new MainGame();
            this.Hide();
            c.Show();
        }

        
    }
}
